﻿/**
 * Title:CKEditor插件示范 Author:耿明(http://www.mzone.cc) Date:2014-10-10
 */
CKEDITOR.plugins.add('annex', {
	lang : [ 'zh-cn', 'en' ],
	requires : [ 'dialog' ],
	init : function(a) {
		var b = a.addCommand('annex', new CKEDITOR.dialogCommand('annex'));
		
		a.ui.addButton('annex', {
			label : "上传附件",
			command : 'annex',
			icon : this.path + 'images/icons.png'
		});
		
		CKEDITOR.dialog.add('annex', this.path + 'dialogs/annex.js');
	}
});